Skip to content

chore: release v0.18.0#708

Closed
github-actions[bot] wants to merge 2 commits intomainfrom
release-plz-2026-02-27T23-13-23Z
Closed

chore: release v0.18.0#708
github-actions[bot] wants to merge 2 commits intomainfrom
release-plz-2026-02-27T23-13-23Z

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 27, 2026

🤖 New release

  • rmcp-macros: 0.17.0 -> 0.18.0
  • rmcp: 0.17.0 -> 0.18.0 (⚠ API breaking changes)

rmcp breaking changes

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum LocalSessionWorkerError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/streamable_http_server/session/local.rs:885
  enum StreamableHttpPostResponse in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/streamable_http_client.rs:93
  enum ServerInitializeError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/service/server.rs:51
  enum RmcpError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/error.rs:24
  enum QuitReason in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/service.rs:570
  enum StreamableHttpError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/streamable_http_client.rs:48
  enum StreamableHttpProtocolError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/streamable_http_client.rs:86
  enum ElicitationError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/service/server.rs:462
  enum AuthError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/auth.rs:270
  enum AuthError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/auth.rs:270
  enum WorkerQuitReason in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/worker.rs:11
  enum ClientInitializeError in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/service/client.rs:29
  enum SessionQuitReason in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/transport/streamable_http_server/session/local.rs:692

--- failure struct_marked_non_exhaustive: struct marked #[non_exhaustive] ---

Description:
A public struct has been marked #[non_exhaustive], which will prevent it from being constructed using a struct literal outside of its crate. It previously had no private fields, so a struct literal could be used to construct it outside its crate.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/struct_marked_non_exhaustive.ron

Failed in:
  struct PromptReference in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2356
  struct Annotations in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/annotated.rs:15
  struct Prompt in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/prompt.rs:14
  struct Root in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2378
  struct InitializeResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:823
  struct InitializeResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:823
  struct TitledSingleSelectEnumSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:568
  struct InitializeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:773
  struct InitializeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:773
  struct InitializeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:773
  struct CompleteResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2284
  struct ListRootsResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2391
  struct SubscribeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1217
  struct SubscribeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1217
  struct ModelHint in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2089
  struct SetLevelRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1402
  struct SetLevelRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1402
  struct ToolExecution in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/tool.rs:72
  struct ToolChoice in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1517
  struct CreateMessageResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2865
  struct UntitledMultiSelectEnumSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:635
  struct ToolResultContent in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/content.rs:95
  struct CallToolResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2654
  struct Icon in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:905
  struct ListTasksResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:3030
  struct StringSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:93
  struct UntitledSingleSelectEnumSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:550
  struct GetTaskPayloadResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/task.rs:129
  struct PaginatedRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1015
  struct PaginatedRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1015
  struct UnsubscribeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1257
  struct UnsubscribeRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1257
  struct CreateMessageRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1812
  struct CreateMessageRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1812
  struct CallToolRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2793
  struct CallToolRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2793
  struct ToolAnnotations in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/tool.rs:112
  struct ModelPreferences in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2025
  struct Request in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:310
  struct PromptMessage in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/prompt.rs:182
  struct Implementation in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:943
  struct GetPromptResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2916
  struct TitledMultiSelectEnumSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:656
  struct Notification in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:384
  struct PromptArgument in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/prompt.rs:93
  struct SamplingMessage in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1648
  struct ReadResourceResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1191
  struct Tool in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/tool.rs:17
  struct Task in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/task.rs:32
  struct ReadResourceRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1150
  struct ReadResourceRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1150
  struct GetPromptRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1321
  struct GetPromptRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:1321
  struct CompleteRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2158
  struct CompleteRequestParams in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model.rs:2158
  struct NumberSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:242
  struct BooleanSchema in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/elicitation_schema.rs:450
  struct ClientCapabilities in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/capabilities.rs:247
  struct ToolUseContent in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/content.rs:78
  struct CreateTaskResult in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/task.rs:95
  struct ServerCapabilities in /tmp/.tmp322CQp/rust-sdk/crates/rmcp/src/model/capabilities.rs:285
Changelog

rmcp-macros

0.18.0 - 2026-03-03

Other

  • add #[non_exhaustive] and mutation methods to improve compatibility (#715)

rmcp

0.18.0 - 2026-03-03

Added

  • (auth) [breaking] support returning extra fields from token exchange (#700)

Fixed

  • downgrade logging of message to TRACE to avoid spamming logs (#699)

Other

  • add #[non_exhaustive] and mutation methods to improve compatibility (#715)


This PR was generated with release-plz.

@github-actions github-actions bot requested a review from a team as a code owner February 27, 2026 23:13
@github-actions github-actions bot force-pushed the release-plz-2026-02-27T23-13-23Z branch from 63c2d62 to 769ed79 Compare March 2, 2026 15:39
@github-actions github-actions bot changed the title chore: release v0.17.1 chore: release v0.18.0 Mar 2, 2026
@github-actions github-actions bot force-pushed the release-plz-2026-02-27T23-13-23Z branch 4 times, most recently from f73de7e to a479c96 Compare March 3, 2026 15:40
@jamadeo jamadeo force-pushed the release-plz-2026-02-27T23-13-23Z branch from a479c96 to 4986993 Compare March 3, 2026 15:55
@github-actions github-actions bot added T-documentation Documentation improvements T-dependencies Dependencies related changes T-config Configuration file changes T-macros Macro changes labels Mar 3, 2026
@github-actions github-actions bot closed this Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-dependencies Dependencies related changes T-documentation Documentation improvements T-macros Macro changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant